package com.bx.implatform.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bx.implatform.entity.Enterprise;
import com.bx.implatform.mapper.EnterpriseMapper;
import com.bx.implatform.service.IEnterpriseService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: yufeng
 * @date: 2024-03-02
 * @description:
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class EnterpriseServiceImpl extends ServiceImpl<EnterpriseMapper, Enterprise>  implements IEnterpriseService {

    @Override
    public List<Enterprise> queryEnterprises() {
        return this.list();
    }
}
